package com.joker.orange.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 充值记录视图对象 t_diamond_consume_record
 *
 * @author Joker
 * @date 2024-06-09
 */
@Data
@ExcelIgnoreUnannotated
public class DiamondConsumeRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    private String nickName;

    /**
     * 用户钻石
     */
    @ExcelProperty(value = "用户钻石")
    private BigDecimal userDiamond;

    /**
     * 消费名称
     */
    @ExcelProperty(value = "消费名称")
    private String consumeName;

    /**
     * 消费钻石
     */
    @ExcelProperty(value = "消费钻石")
    private BigDecimal consumeDiamond;

    /**
     * 消费类型
     */
    @ExcelProperty(value = "消费类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0-充值、1-支出")
    private String consumeType;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
